package com.glory.huaweipda.viewmodel

import com.glory.huaweipda.model.LoginRepository
import com.glory.huaweipda.model.TaskRepository
import com.glory.mvvmnet.base.BaseViewModel
import com.glory.mvvmnet.entity.CallObserveBean

class LoginViewModel : BaseViewModel() {

    private val saleChanceRankRepository = LoginRepository()

    private val repository by lazy { TaskRepository() }
    fun getListData() {
        launchOnlyResult({
//            val data = saleChanceRankRepository.login("11","22")
            defUI.callObserve.value = CallObserveBean(1)
        })
    }

}